package TestDay;

import java.util.Scanner;
public class Test1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入要打印的行数");
        int m=sc.nextInt();
        System.out.println("请输入你要打印的列数");
        int n=sc.nextInt();
        dayin(m,n);

    }
    public static void dayin(int a,int b){
        for (int i = 0; i <a ; i++) {
            for (int j = 0; j < b; j++) {
                System.out.print("@");
            }
            System.out.println();

        }
    }
}
